Method: Msf::ModuleDataStore#[]
- Defined in:
- lib/msf/core/module_data_store.rb
#[](key) ⇒ Object
Same as fetch
51 52 53 54 55 56 57 58 59 60 |
# File 'lib/msf/core/module_data_store.rb', line 51 def [](key) key = find_key_case(key) val = nil val = super if(@imported_by[key] != 'self') if (val.nil? and @_module and @_module.framework) val = @_module.framework.datastore[key] end val = super if val.nil? val end |